package com.gzq.service;

import com.gzq.entity.ShortSlogan;
import com.gzq.repository.ShortSloganDao;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class ShortSloganService {
    @Resource
    ShortSloganDao shortSloganDao;
    public List<ShortSlogan> findText(int status){
        return shortSloganDao.findByStatus(status);
    }
}
